package com.hwua.Util;

import com.mchange.v2.c3p0.ComboPooledDataSource;

import javax.sql.DataSource;

public class C3P0Util {
    //创建一个C3P0连接池对象
    private static  DataSource ds = new ComboPooledDataSource();

    public static DataSource getCpds() {
        return ds;
    }
}
